package wsz.code;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;

/**
 * @author wsz
 * @date 2021/12/27 10:18
 **/
@EntityScan(value = "wsz.pojo")
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@ComponentScans(value = {
        @ComponentScan(value = "wsz")
})
public class ServiceCodeApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceCodeApplication.class, args);
    }
}
